<template>
  <div class="full-page">
    <van-nav-bar title="全部作品" left-arrow @click-left="onClickLeft" fixed />
    <div class="con">
      <div class="con_wrap">
        <div class="box" v-for="item in 10" :key="item">
          <div class="header"></div>
          <div>
            <p>进入份甜点</p>
            <img src="" alt="" />
            <p>s'p</p>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import { NavBar } from "vant";

export default {
  name: "works",
  components: {
    [NavBar.name]: NavBar,
  },
  data() {
    return {};
  },
  methods: {
    // 返回
    onClickLeft() {
      history.back();
    },
  },
};
</script>

<style lang="scss" scoped>
.full-page {
  position: absolute;
  background: #fff;
  z-index: 100;
  overflow: hidden;

  .con {
    height: calc(100% - 49px);
    position: absolute;
    top: 49px;
    left: 0;
    overflow-y: auto;

    &::-webkit-scrollbar {
      display: none;
    }
    .con_wrap {
      margin: 0 5vw;
      padding-bottom: 26.6667vw;
    }
  }
}
</style>
